package com.graduation.rescuematerial.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author CaiShuangLian
 * @since 2022-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Catalog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 类别名称
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * 父目录
     */
    private Integer parentId;

    /**
     * 子目录
     */
    private Integer childrenId;

    /**
     * 类别图标
     */
    private String iconUrl;

    /**
     * 标签
     */
    private String tag;


}
